package com.vueperson.vueperson.t1.CreationalPattern.PrototypePattern.OA.Deep;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Attachment  implements Serializable {
    private String name;    //附件名
    public void download(){
        System.out.println("下载附件,文件名为"+name);
    }
}
